﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;

namespace _13.TextFiles
{
    class PrintOddLines
    {
        static void Main(string[] args)
        {
           
            StreamReader reader = new StreamReader("test.txt", Encoding.GetEncoding("UTF-8"));
            int lineNumber = 1;
            using (reader)
            {
                string line = reader.ReadLine();
                while (line != null)
                {
                    if (lineNumber % 2 != 0)
                    {
                        Console.WriteLine(line);
                    }
                    lineNumber++;
                    line = reader.ReadLine();

                }
            }
        }
    }
}
